package neu.soft.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodsTransferOrder {

    private String goodsTransferOrderId;//任务单号
    private String commodityId;//商品id
    private int commodityNum;//商品数量
    private int inboundRoomId;//入库的分库房id
    private int outboundRoomId;//出库的中心库房id

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date outboundTime;//预计出库时间

    private String orderId;//订单id
    private String company;//快递公司
    private String commodityName;
    private int taskType;

}